package com.vpen.iot.model.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author Vpen
 * @date 2024/9/14 13:53
 */
@Data
@Accessors(chain = true)
public class AiModelTrainPicJsonDTO implements Serializable {
    private String version = "5.1.1";
    private Flags flags ;
    private List<Shape> shapes;
    private String imagePath;
    private String imageData;
    private Integer imageHeight;
    private Integer imageWidth;

    @Data
    @Accessors(chain = true)
    public static class Shape implements Serializable{
        private String label;
        private String group_id;
        private String shape_type;
        private Flags flags;
        private List<List> points;
    }



}
